var Game = function(obj, model) {
	model.Entity.inherit(this);
	
	this.class = 'Game';
	obj = obj || {};

	this.id = obj.id;
	this.type = obj.type;
	this.numChoices = obj.numChoices || 0;
	this.numRounds = obj.numRounds || 0;
	this.position = obj.position || 0;

	this.payload = [];
	obj.payload = obj.payload || [];
	for ( var i = 0; i < obj.payload.length; i++) {
		var entity = obj.payload[i];
		entity.class = entity.class || 'Object';
		
		this.payload.push(model.create(entity));
	}
};

Game.prototype.toXML = function() {

};